package com.ysd.lis.controller.emr;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.entity.emr.EmrProcessDetail;
import com.ysd.lis.service.emr.EmrProcessDetailService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wh
 * @since 2025-06-10
 */
@RestController
@RequestMapping("/emr/processDetail")
public class EmrProcessDetailController extends BaseController {
    @Autowired
    private EmrProcessDetailService emrProcessDetailService;

    @ApiOperation("查询")
    @GetMapping("/findEmrProcessDetailList")
    public Result findEmrProcessDetailList(EmrProcessDetail emrProcessDetail) {
        return emrProcessDetailService.findEmrProcessDetailList(emrProcessDetail);
    }

    @ApiOperation("查询")
    @GetMapping("/findEmrProcessDetailListByUser")
    public Result findEmrProcessDetailListByUser(EmrProcessDetail emrProcessDetail) {
        return emrProcessDetailService.findEmrProcessDetailListByUser(emrProcessDetail);
    }


}
